<?php
class dowhatMod extends commonMod{

	public function index(){
		
		$cid = intval($_GET['cid']);
		if (empty($cid)) $cid=974;
		$classArr = __query("SELECT * FROM {tabpre}class WHERE SystemID=104");
		$this->assign("classArr", $classArr);
		
		$user = __query("SELECT * FROM {tabpre}member WHERE `show`=1 and `recover`=0 and classid=".$cid);



		$this->assign("cid", $cid);
		$this->assign("user", $user);
		$this->display();
	}
}